package com.shuqing.download.engine.constants;

/**
 * @author wangshuqing
 * @date 2023/3/4 8:34
 */
public enum EventEnum {

    /****/
    STATUS_CHANGE("状态变更","状态变更[{}]到[{}]"),
    ACTUATOR_START("执行器开始执行","{}执行器开始执行"),
    ASSEMBLE_COMPLETE("数据组装器执行器完成初始化","数据组装器执行器初始化完成"),
    QUERY_DATA_SUCCESS("部分取数成功","第{}页数据读取成功"),
    WRITE_DATA_SUCCESS("部分写入成功","本次写入{}已写入{}条数据"),
    UPLOAD_SUCCESS("上传完成","{}上传完成"),
    ACTUATOR_FINISH("执行器执行结束","{}执行器执行结束"),
    ;

    private String desc;
    private String format;

    EventEnum(String desc,String format){
       this.desc=desc;
       this.format=format;
    }

    public String getFormat(){
        return this.format;
    }

    public String getDesc(){
        return this.desc;
    }

}
